package cn.tangjiabao.halodb.spring.template;

import org.apache.commons.dbutils.ResultSetHandler;

public interface JdbcTemplate {
	public <T> T insert(final String sql, final ResultSetHandler<T> rsh, final Object... params) ;
	public int update(final String sql, final Object... params) ;
	public <T> T query(final String sql, final ResultSetHandler<T> rsh, final Object... params) ;
	public <T> T queryProc(final String sql, final ResultSetHandler<T> rsh, final Object... params) ;

}
